package com.jalarbee.stock.product.dao;

import java.util.List;

import com.jalarbee.core.generic.dao.GenericDao;
import com.jalarbee.core.util.Chunk;
import com.jalarbee.stock.category.exception.NoSuchCategoryException;
import com.jalarbee.stock.product.business.Product;

public interface ProductDao extends GenericDao<Product, Integer> {

    List<Product> getProductsByCategory(int categoryId, Chunk chunk) throws NoSuchCategoryException;
    List<Product> getActiveProducts(Chunk chunk);
    void inactivate(Product product);
    void activate(Product product);

}
